package com.coreJava.设计模式.观察者模式;

/**
 * 作者: LCG
 * 日期: 2020/2/13 23:18
 * 描述:
 */
public class Test005 {
    public static void main(String[] args) {

        TestCaoZuo testCaoZuo=new TestCaoZuo();
        testCaoZuo.add(new GuanchaZhe1());
        testCaoZuo.add(new GuanChaZhe2());

        testCaoZuo.caozuo();

    }
}
